<template>
    <view class="content">
        <image class="logo" src="/static/logo.png" />
        <view class="text-area">
            <text class="title">{{ title }}</text>
        </view>

        <wd-button type="primary">按钮</wd-button>

        <wd-tabs v-model="tab">
            <block v-for="item in 4" :key="item">
                <wd-tab :title="`标签${item}`">
                    <view class="content">内容{{ item }}</view>
                </wd-tab>
            </block>
        </wd-tabs>
    </view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import $api from '@/api/common'
import route from '@/util/route'

const title = ref('Hello')
$api.common.getDict('qcwl10088_putaway_classify')
const tab = ref<Number>(0)
setTimeout(() => {
    route({
        url: '/pages/login/login',
    })
}, 2000)
</script>
<style lang="scss">
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 200rpx;
    width: 200rpx;
    margin: 200rpx auto 50rpx;
}

.text-area {
    display: flex;
    justify-content: center;
    background: $-color-theme;
}

.title {
    font-size: 36rpx;
    color: #8f8f94;
}
</style>
